package com.mall.common.service;

import java.security.interfaces.RSAPublicKey;

import javax.servlet.http.HttpServletRequest;

public interface RSAService {

	public abstract RSAPublicKey generateKey(HttpServletRequest request, boolean isApp);

	public abstract void removePrivateKey(HttpServletRequest request);

	public abstract String decryptParameter(String s, HttpServletRequest request);

	public abstract String decryptParameter(String s);

}
